package com.xiaoshuidi.cloud.module.member.pojo.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

@TableName(value = "member_omnipotent_password", autoResultMap = true)
@KeySequence("member_omnipotent_password_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class MemberOmnipotentPassword implements Serializable {
    private static final long serialVersionUID = 5045501025140990561L;
    @TableId(type = IdType.AUTO)
    private Long id;

    private String password;

    private LocalDate effectiveDate;

    private String mobile;

    private String organization;

}
